package com.dearbinge.data.pojo.commodity;

import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

/**
 * 商品评论DO
 *
 * @author wes
 * @date 2019/3/20
 */
public class CommodityCommentDO  implements Serializable {

    @ApiModelProperty("商品评论ID")
    private Integer commodityCommentId;

    @ApiModelProperty("商品ID")
    private Integer commodityId;

    @ApiModelProperty("订单ID")
    private Integer orderId;

    @ApiModelProperty("买家ID")
    private Integer customerId;

    @ApiModelProperty("买家名字")
    private String customerName;

    @ApiModelProperty("商品规格描述")
    private String commoditySpec;

    @ApiModelProperty("规格id")
    private Integer specId;

    @ApiModelProperty("评论内容")
    private String commentContent;

    @ApiModelProperty("评论时间(创建时间)")
    private Date createTime;

    @ApiModelProperty("回复内容")
    private String replyContent;

    @ApiModelProperty("回复时间")
    private Date replyTime;

    @ApiModelProperty("追加评论内容")
    private String appendCommentContent;

    @ApiModelProperty("追加评论时间")
    private Date appendCommentTime;

    @ApiModelProperty("追加回复内容")
    private String appendReplyContent;

    @ApiModelProperty("追加回复时间")
    private Date appendReplyTime;

    @ApiModelProperty("审核状态：0未审核，1已审核")
    private Boolean auditStatus;

    @ApiModelProperty("好评：1 中评：2 差评：3")
    private Integer commentLevel;

    @ApiModelProperty("追加评论天数")
    private Integer appendCommentDay;

    @ApiModelProperty("修改时间")
    private Date modifyTime;

    @ApiModelProperty("创建人")
    private String createBy;

    @ApiModelProperty("修改人")
    private String modifyBy;

    @ApiModelProperty("是否删除（0：不删除  1：删除）")
    private Boolean deleted;

    public Integer getCommodityCommentId() {
        return commodityCommentId;
    }

    public void setCommodityCommentId(Integer commodityCommentId) {
        this.commodityCommentId = commodityCommentId;
    }

    public Integer getCommodityId() {
        return commodityId;
    }

    public void setCommodityId(Integer commodityId) {
        this.commodityId = commodityId;
    }

    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public Integer getCustomerId() {
        return customerId;
    }

    public void setCustomerId(Integer customerId) {
        this.customerId = customerId;
    }

    public String getCommoditySpec() {
        return commoditySpec;
    }

    public void setCommoditySpec(String commoditySpec) {
        this.commoditySpec = commoditySpec == null ? null : commoditySpec.trim();
    }

    public Integer getSpecId() {
        return specId;
    }

    public void setSpecId(Integer specId) {
        this.specId = specId;
    }

    public String getCommentContent() {
        return commentContent;
    }

    public void setCommentContent(String commentContent) {
        this.commentContent = commentContent == null ? null : commentContent.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getReplyContent() {
        return replyContent;
    }

    public void setReplyContent(String replyContent) {
        this.replyContent = replyContent == null ? null : replyContent.trim();
    }

    public Date getReplyTime() {
        return replyTime;
    }

    public void setReplyTime(Date replyTime) {
        this.replyTime = replyTime;
    }

    public String getAppendCommentContent() {
        return appendCommentContent;
    }

    public void setAppendCommentContent(String appendCommentContent) {
        this.appendCommentContent = appendCommentContent == null ? null : appendCommentContent.trim();
    }

    public Date getAppendCommentTime() {
        return appendCommentTime;
    }

    public void setAppendCommentTime(Date appendCommentTime) {
        this.appendCommentTime = appendCommentTime;
    }

    public String getAppendReplyContent() {
        return appendReplyContent;
    }

    public void setAppendReplyContent(String appendReplyContent) {
        this.appendReplyContent = appendReplyContent == null ? null : appendReplyContent.trim();
    }

    public Date getAppendReplyTime() {
        return appendReplyTime;
    }

    public void setAppendReplyTime(Date appendReplyTime) {
        this.appendReplyTime = appendReplyTime;
    }

    public Boolean getAuditStatus() {
        return auditStatus;
    }

    public void setAuditStatus(Boolean auditStatus) {
        this.auditStatus = auditStatus;
    }

    public Integer getCommentLevel() {
        return commentLevel;
    }

    public void setCommentLevel(Integer commentLevel) {
        this.commentLevel = commentLevel;
    }

    public Integer getAppendCommentDay() {
        return appendCommentDay;
    }

    public void setAppendCommentDay(Integer appendCommentDay) {
        this.appendCommentDay = appendCommentDay;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy == null ? null : createBy.trim();
    }

    public String getModifyBy() {
        return modifyBy;
    }

    public void setModifyBy(String modifyBy) {
        this.modifyBy = modifyBy == null ? null : modifyBy.trim();
    }

    public Boolean getDeleted() {
        return deleted;
    }

    public void setDeleted(Boolean deleted) {
        this.deleted = deleted;
    }

    public String getCustomerName() {
        return customerName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    @Override
    public String toString() {
        return "CommodityCommentDO{" +
                "commodityCommentId=" + commodityCommentId +
                ", commodityId=" + commodityId +
                ", orderId=" + orderId +
                ", customerId=" + customerId +
                ", commoditySpec='" + commoditySpec + '\'' +
                ", specId=" + specId +
                ", commentContent='" + commentContent + '\'' +
                ", createTime=" + createTime +
                ", replyContent='" + replyContent + '\'' +
                ", replyTime=" + replyTime +
                ", appendCommentContent='" + appendCommentContent + '\'' +
                ", appendCommentTime=" + appendCommentTime +
                ", appendReplyContent='" + appendReplyContent + '\'' +
                ", appendReplyTime=" + appendReplyTime +
                ", auditStatus=" + auditStatus +
                ", commentLevel=" + commentLevel +
                ", appendCommentDay=" + appendCommentDay +
                ", modifyTime=" + modifyTime +
                ", createBy='" + createBy + '\'' +
                ", modifyBy='" + modifyBy + '\'' +
                ", deleted=" + deleted +
                '}';
    }

}